package com.neu.flashmall.product.vo;

import com.neu.flashmall.product.entity.PmsCategory;
import com.neu.flashmall.product.entity.PmsSpuInfo;
import lombok.*;

import java.util.ArrayList;
import java.util.List;

@Data
public class PmsCategoryMallVo {
    private PmsCategory father;
    private List<PmsCategoryChildrenItem> children;

    @Getter
    @Setter
    @AllArgsConstructor
    @NoArgsConstructor
    public static class PmsCategoryChildrenItem{
        private PmsCategory detail;
        //推荐商品
        private List<PmsSpuInfo> spuInfoList;
    }

}
